<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        a{
            display: inline-block;
            color: black;
            text-decoration: none;
            width: 200px;
            text-align: center;
            


        }

    </style>
</head>
<body>
    <!-- 让原本独占一行的盒子占成一行 -->
    <a href="#">首页</a><a href="#">分类</a><a href="#">搜索</a><a href="#">我的</a>



</body>
</html>